package com.ryan.route.mapper;

import com.ryan.route.entity.RouteCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ryan.route.entity.frontvo.RouteCollectVo;

import java.util.List;

/**
 * <p>
 * 路线收藏 Mapper 接口
 * </p>
 *
 * @author ryan
 * @since 2020-08-03
 */
public interface RouteCollectMapper extends BaseMapper<RouteCollect> {

    /**
     * 根据会员id获取收藏列表
     * @param memberId
     * @return
     */
    List<RouteCollectVo> getCollectList(String memberId);
}
